#define _CRT_SECURE_NO_WARNINGS 1
#pragma once 
#include <iostream>
#include <string.h>
#include <assert.h>


using namespace std;

namespace Wx
{
	class string
	{
	public:
		string(const char* str = "");
		const char* c_str() const;
		void reserve(size_t n);
		void push_back(char c);
		void append(const char* str);
		void insert(size_t pos, size_t n,char c);
		void insert(size_t pos, char* str);
	private:
		char* _str;
		size_t _capaciity;
		size_t _size;
	};
}

void test1();

